Favicon

You are here: Home > API Reference > Windows > Windows Enterprise Creation > Update win enterprise info

Update win enterprise info

Update win enterprise info

PUT
/v1/organizations/:organizationId/mdm/win/enterprise/
Copy to clipboard

Update win enterprise info

Update win enterprise info

Request

Add parameter in header authorization
Example: Authorization: Bearer <token>
organizationId string
required
Entity Id or Slug
Match pattern: ^(([a-fA-F0-9]{24})|([a-zA-Z0-9\\-]{3,}))$
Body Params application/json
domain string required
≤ 256 characters
configuration object optional
primaryColor string optional
≤ 256 characters
logo string optional
contactEmail string optional
Email
≤ 256 characters · Format: email
contactPhone string optional
≤ 256 characters
{
    "domain": "string",
    "configuration": {
        "primaryColor": "string",
        "logo": "string",
        "contactEmail": "user@example.com",
        "contactPhone": "string"
    }
}

Responses

200 Response application/json
status boolean optional
data object optional
id string optional
Entity Id
Match pattern: ^[a-fA-F0-9]{24}$
domain string optional
≤ 256 characters
updatedAt string optional
Format: date-time
createdAt string optional
Format: date-time
organizationInfo object optional
id string optional
Entity Id
Match pattern: ^[a-fA-F0-9]{24}$
name string optional
≤ 128 characters
slug string optional
Slug
≤ 128 characters · ≥ 3 characters · Match pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]$
store object optional
customDomain string optional
≤ 256 characters
branding object optional
logo string optional
≤ 256 characters
picture string optional
primaryColor string optional
Match pattern: ^#[a-zA-Z0-9]{6}$
configuration object optional
storageProvider string optional
Entity Id
Match pattern: ^[a-fA-F0-9]{24}$
createdBy string optional
Match pattern: ^[a-fA-F0-9]{24}$
{
    "status": true,
    "data": {
        "id": "string",
        "domain": "string",
        "updatedAt": "2024-01-01T00: 00:00Z",
        "createdAt": "2024-01-01T00: 00:00Z",
        "organizationInfo": {
            "id": "string",
            "name": "string",
            "slug": "string",
            "store": {
                "customDomain": "string"
            },
            "branding": {
                "logo": "string",
                "picture": "string",
                "primaryColor": "string"
            },
            "configuration": {
                "storageProvider": "string"
            },
            "createdBy": "string"
        }
    }
}
400 Response application/json
status boolean optional
false
error object optional
code number optional
5132
message string optional
Error generating certificates
{
    "status": false,
    "error": {
        "code": 5050,
        "message": "Feature not allowed for you billing plan"
    }
}
401 Response application/json
status boolean optional
false
error object optional
code number optional
4004
message string optional
Invalid Token
{
    "status": false,
    "error": {
        "code": 4002,
        "message": "No auth token"
    }
}
404 Response application/json
status boolean optional
false
error object optional
code number optional
3001
message string optional
Entity not found
{
    "status": false,
    "error": {
        "code": 3001,
        "message": "Entity not found"
    }
}